home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pcmagazi
/
1992
/
04
/
list.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-11-14
|
496b
|
33 lines
// list.h RHS 8/2/91
#if !defined(LIST_H)
#define LIST_H
typedef struct _node
{
struct _node *next;
void *object;
} NODE;
class List
{
NODE *start, *end;
int NumElements;
NODE *current;
int lastndx;
NODE *lastnode;
public:
List(void);
~List(void);
int Add(void *object);
void *Current(void);
int Num(void);
void *operator[](int index);
void List::Dump(int index);
};
#endif